package com.eks.nacos.user.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * CommonConfig
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2021-01-21 17:09
 */
@Getter
@RefreshScope
@Configuration
public class CommonConfig {

    @Value("${u.name}")
    private String userName;

    @Value("${c.name}")
    private String commonName;
}
